import React from 'react';
import { View } from 'react-native';
import SettingsSwitch from '../components/SettingsSwitch';

const SettingsPage = () => {
  return (
    <View style={styles.container}>
      <SettingsSwitch 
        label="暗色模式"
        defaultValue={false}
        onChange={(value) => console.log('Dark mode:', value)}
      />
      <SettingsSwitch 
        label="自动同步"
        defaultValue={true}
        onChange={(value) => console.log('Auto sync:', value)}
      />
    </View>
  );
};

export default SettingsPage;